#ifndef _MULTIOBJECT_H_
#define _MULTIOBJECT_H_

#include "Object.h"

class MultiObject{
private:
	int numObject; //maximum number object in frame 
	int maxObject;
	Object* trackingObject;
	int* ID;
	Mat frame;
public:
	MultiObject();
	MultiObject(int numObject);
	~MultiObject();
	void init(Mat &frame, Object* allObject, int numObject);
	int getNumObject();
	int getMaxObject();
	void getID(int *ID);

	void predict(Object* allObject, int numObject);
	void measure(const Mat &frame, Object* allObject, int numObject);
	void correct(const Mat &frame, int numObject);
	void update(const Mat &frame);
	void render();
private:
};

#endif // !_MULTIOBJECT_H_
